package org.jeecg.modules.job.ums.service;

import org.jeecg.modules.job.ums.entity.UmsAccount;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * @Description: 会员账户
 * @Author: jeecg-boot
 * @Date:   2022-12-23
 * @Version: V1.0
 */
public interface IUmsAccountService extends IService<UmsAccount> {

    /**
     * 账户添加余额
     */
    void addMemberBalance(BigDecimal money, String memberId);

    /**
     * 根据会员id查询账户
     */
    UmsAccount findByMemberId(String memberId);

}
